home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / adg_1_3.zip / MAKEDD.BAT < prev    next >
DOS Batch File  |  1991-02-21  |  2KB  |  59 lines

  1. @ECHO OFF
  2. Rem This file is used to create the distribution diskettes that
  3. Rem accompany "Windows 3: A developer's Guide".
  4.  
  5. IF NOT %1X == X GOTO MAKEDISK
  6. Echo Please specify a diskette drive letter:
  7. Echo       For example: MAKEDD A
  8. GOTO EXIT
  9.  
  10.  
  11. REM **************************************************************************
  12. :MAKEDISK
  13. Echo Insert the Disk 1 in drive %1.
  14. Pause
  15. LABEL A:ADG_1-3
  16.  
  17. Rem Place installation files in the root directory of Disk 1.
  18. ECHO Copying root directory files to %1:\.
  19. COPY SETUP.08\SETUP.EXE %1:\ > Nul
  20. COPY SETUP.08\SETUP.INF %1:\ > Nul
  21. COPY METER.04\METER.DLL %1:\ > Nul
  22. COPY README.TXT         %1:\ > Nul
  23. COPY NOWINDWS.H         %1:\ > Nul
  24. COPY MAKEALL.BAT        %1:\ > Nul
  25. COPY MAKEDD.BAT         %1:\ > Nul
  26. COPY COPYDIR.BAT        %1:\ > Nul
  27.  
  28. REM Place each chapter's files on the diskette.
  29. CALL CopyDir %1 VOYEUR.01
  30. CALL CopyDir %1 PMREST.02
  31. CALL CopyDir %1 NOALPHA.02
  32. CALL CopyDir %1 DLGTECH.03
  33.  
  34. REM **************************************************************************
  35. Echo Insert the Disk 2 in drive %1.
  36. Pause
  37. LABEL A:ADG_4-6
  38.  
  39. CALL CopyDir %1 METER.04
  40. CALL CopyDir %1 SPIN.04
  41. CALL CopyDir %1 CUSTCNTL.04
  42. CALL CopyDir %1 PRINT.05
  43. CALL CopyDir %1 SCRNBLNK.06
  44. CALL CopyDir %1 ECHO.06
  45.  
  46.  
  47. REM **************************************************************************
  48. Echo Insert the Disk 3 in drive %1.
  49. Pause
  50. LABEL A:ADG_7-8
  51.  
  52. CALL CopyDir %1 MDI.07
  53. CALL CopyDir %1 SETUP.08
  54.  
  55. ECHO Distribution Diskettes have been created.
  56.  
  57. REM **************************************************************************
  58. :Exit
  59.